﻿package com.leqicheng.tenon.util;

/**
 * @author ctmwd
 * @time 下午1:11:06
 * @date 2015年9月23日
 * @description app功能所需地址配置
 */
public class UrlConfig {

    private final static String BASE_URL = "https://tenon-x.com/";

    private final static String BASEURI = "api/";

    private final static String FEEDBACK = "feedback/";

    private final static String GAME_URL = "https://tenon-x.com/game/";

    private final static String NOW = "now";

    private final static String LOG_URL = "http://log.tenon-x.com/";

    public static String getBaseUrl() {
        // return DebugBaseUrl;
        return BASE_URL + BASEURI;
    }

    public static String getNow() {
        return BASE_URL + NOW;
    }

    public static String getFeedbackUrl() {
        return BASE_URL + FEEDBACK;
    }

    public static String getGameUrl(String gameId) {
        String gameUrl;
        gameUrl = GAME_URL + gameId;
        return gameUrl;
    }

    public static String getLogUrl() {
        return LOG_URL + BASEURI;
    }
}
